<% form_for :doc, @doc, :url => { :action => "edit", :id=>@req.id } do |f| %>
  <%= render :partial => f %>
  <label>&nbsp;</label>
  <%= submit_tag 'Submit' %>
  <%= submit_tag 'Cancel', {:confirm=>"Sure ?", :name => "doc[Cancel]" } %>
<% end %>

